package com.mrx.giteewebhook.model.request.push;

import com.mrx.giteewebhook.model.request.common.Enterprise;
import com.mrx.giteewebhook.model.request.common.Repository;
import com.mrx.giteewebhook.model.request.common.Sender;

import java.util.List;

public record PushRequest(
        String hookName,
        String compare,
        HeadCommit headCommit,
        Integer totalCommitsCount,
        String before,
        Boolean created,
        Enterprise enterprise,
        String sign,
        Repository repository,
        Boolean commitsMoreThanTen,
        String password,
        String ref,
        Boolean deleted,
        Sender sender,
        Integer hookId,
        List<CommitsItem> commits,
        String hookUrl,
        String after,
        String timestamp
) {
}